﻿@{
    Layout = null;
}
@model ElingOA6_Admin_DSJCJ.Model.Paper

<!DOCTYPE html>

<html>
<head>
   @if (false)
   {
        <script src="../../../../Scripts/jquery-vsdoc.js" type="text/javascript"></script>
        <script src="../../../../Scripts/ASPxScriptIntelliSense.js" type="text/javascript"></script>
   }
    <link href="@Url.Content("~/Content/Site.css", true)" rel="stylesheet" type="text/css" />

    <script src="@Url.Content("~/Scripts/json2.js",true)" type="text/javascript"></script>

    <script src="@Url.Content("~/Scripts/jquery.min.js", true)" type="text/javascript"></script>

    <script src="@Url.Content("~/Scripts/FloatDiv.js", true)" type="text/javascript"></script>

    <script src="@Url.Content("~/Scripts/regex.js", true)" type="text/javascript"></script>

    <script src="@Url.Content("~/Scripts/PageCommon.js", true)" type="text/javascript"></script>

    <script src="@Url.Content("~/Common/GetRootPath.ashx", true)" type="text/javascript"></script>

    @Html.DevExpress().GetStyleSheets(

        new StyleSheet { ExtensionType = ExtensionType.ListBox, Theme = DevExpressHelper.Theme }
)
    @Html.DevExpress().GetScripts(
        new Script { ExtensionType = ExtensionType.ListBox }
)
    <script type="text/javascript">
        var i = 1;
        function OnBeginCallback(s, e) {
            e.customArgs["command"] = e.command;
            e.customArgs["pageIndex"] = s.pageIndex;
            e.customArgs["pageCount"] = s.pageCount;
            e.customArgs["pageRowSize"] = s.pageRowSize;
            e.customArgs["pageRowCount"] = s.pageRowCount;
        }

        //取消
        function cancel() {
            javascript: history.go(-1);
        }

        var ISNULL = true;
        function ok() {
//            if (FBeginDate.GetText() == "") {
//                alert("问卷开始日期不能为空!");
//                return false;
//            }
//            if (FEndDate.GetText() == "") {
//                alert("问卷结束日期不能为空!");
//                return false;
//            }
            duibi(FBeginDate.GetText(), FEndDate.GetText());
            if (!ISNULL) {
                return;
            }

            form1.submit();
         }

         function duibi(a, b) {
             var arr = a.split("-");
             var starttime = new Date(arr[0], arr[1], arr[2]);
             var starttimes = starttime.getTime();

             var arrs = b.split("-");
             var lktime = new Date(arrs[0], arrs[1], arrs[2]);
             var lktimes = lktime.getTime();

             if (starttimes >= lktimes) {

                 alert('结束日期大于开始日期，请检查');
                 ISNULL = false;
             }
             else
                 ISNULL = true;
         }
         $(document).ready(function () {
             ///加载指定人
             var hdFEmpName = $("#hdFEmpName").val();
             var clientMemo = ASPxClientMemo.Cast("FPronoun");
             clientMemo.SetValue(hdFEmpName);

             var hidresultIsOpen = $('#hidresultIsOpen').val();
             if (hidresultIsOpen == "Y") {
                 $('#readAuthDiv').hide();
             }
             else {
                 $('#readAuthDiv').show();
             }

             addRowBm_table();
             var hdMethod = $("#hdMethod").val();
             if (hdMethod == 'Edit') {

                 ///加载参与IP
                 var hdvotegroupIPs = $("#hdvotegroupIPs").val();
                 if (hdvotegroupIPs != "") {
                     var model = JSON.parse(hdvotegroupIPs);
                     var clienttext = ASPxClientButtonEdit.Cast("txtjoinISIP");
                     var str = "";
                     var strGroupIDs = "";
                     for (var i = 0; i < model.length; i++) {
                         str += model[i].StrFStartIP + "～" + model[i].StrFEndIP + ",";
                         strGroupIDs += model[i].FIPGroupID + ",";
                     }
                     clienttext.SetValue(str);
                     $("#hdjoinID").val(strGroupIDs);
                 }


                 ///加载参与IP
                 var hdlookgroupIPs = $("#hdlookgroupIPs").val();
                 if (hdlookgroupIPs != "") {
                     var model = JSON.parse(hdlookgroupIPs);
                     var clienttext = ASPxClientButtonEdit.Cast("txtconISIP");
                     var str = "";
                     var strGroupIDs = "";
                     for (var i = 0; i < model.length; i++) {
                         str += model[i].StrFStartIP + "～" + model[i].StrFEndIP + ",";
                         strGroupIDs += model[i].FIPGroupID + ",";
                     }
                     clienttext.SetValue(str);
                     $("#hdconID").val(strGroupIDs);
                 }

             }

         });
        

        function openclick(s, e) {
            if (s.GetChecked()) {
                $('#readAuthDiv').hide();
            } else {
                $('#readAuthDiv').show();
            }
        }

        //员工选择取消
        function EmpCancel() {
            pcModalMode.Hide();
        }

        function FEmplNo_ButtonClick(s, e) {
            pcModalMode.Show();

        }

        ////部门增加行代码
        function addRowBm() {
            var obj = new Object();
            obj.Value = $("#hdHRWorkGrpDutyList").val();
            var returnValue = window.showModalDialog(rootPath + "/Admin/Dialog/DeptChooseTree", obj, "dialogWidth=300px;dialogHeight=500px");
            if (typeof (returnValue) != "undefined") {
                $("#hdHRWorkGrpDutyList").val(returnValue);
                addRowBm_table();
            }
        }

        //部门增加行代码
        function addRowBm_table() {
            var returnValue = $("#hdHRWorkGrpDutyList").val();
            if (returnValue != "") {
                var tableName = "tableBM";
                var treeModelList = JSON.parse(returnValue);
                for (var i = 0; i < treeModelList.length; i++) {
                    var isExisits = false;
                    $("#" + tableName + " tr").each(function () {
                        if (this.id == ("tr_Dept" + treeModelList[i].Value)) {
                            isExisits = true;
                            return;
                        }
                    });
                    if (!isExisits) {
                        //添加
                        var rowId = "tr_Dept" + treeModelList[i].Value;
                        var ddl = treeModelList[i].Text;
                        var ddlJbName = "cbo_Dept" + treeModelList[i].Value;
                        $("#" + tableName).append("<tr id='" + rowId + "'><td class='tdClass' align='center'><img src='" + rootPath + "/Content/images/delete.gif' width='9' height='9' style='cursor:pointer' onclick=delDeptRow('" + tableName + "','" + rowId + "') /></td><td  class='tdClass'  align='center'>" + ddl + "</td><td class='tdClass' align='center'><select id='" + ddlJbName + "' name='" + ddlJbName + "'><option value='1'>正级</option><option value='2'>副级</option><option value='3'>正副级</option><option value='9' selected>任何人</option></select></td></tr>");
                        var propJsonString = $("#hdProp").val();
                        if (propJsonString != "") {
                            var propList = JSON.parse(propJsonString);
                            for (var j = 0; j < propList.length; j++) {
                                if (propList[j].Value == treeModelList[i].Value) {
                                    $("#" + ddlJbName).val(propList[j].Text);
                                    break;
                                }
                            }
                        } 
                    }
                }
                var removeTrIdArray = new Array();
                $("#" + tableName + " tr").each(function () {
                    var isExisits = false;
                    for (var i = 0; i < treeModelList.length; i++) {
                        if (this.id == ("tr_Dept" + treeModelList[i].Value)) {
                            isExisits = true;
                            break;
                        }
                    }
                    if (!isExisits) {
                        removeTrIdArray.push(this.id);
                    }
                });
                for (var i = 0; i < removeTrIdArray.length; i++) {
                    $("#" + tableName + " tr").remove("tr[id='" + removeTrIdArray[i] + "']");
                }
            }
        }


        /*部门删除
        */
        function delDeptRow(tableId, rowId) {
            $("#" + tableId + " tr").remove("tr[id='" + rowId + "']");
            var treeModelList = JSON.parse($("#hdHRWorkGrpDutyList").val());
            for (var i = 0; i < treeModelList.length; i++) {
                if (rowId == ("tr_Dept" + treeModelList[i].Value)) {
                    treeModelList.splice(i, 1);
                    break;
                }
            }
            $("#hdHRWorkGrpDutyList").val(JSON.stringify(treeModelList));
        }


        //员工选择确定
        function EmpOK(id, name) {
            $("#hbFEmplNo").val(id);
            var clientFEmpNameObj = ASPxClientButtonEdit.Cast("FEmpName");
            clientFEmpNameObj.SetText(name);
            pcModalMode.Hide();
        }


        function cpDelete(FPaperId, FSourceNo, FPronoun, FProp) {
            if (window.confirm("确定删除")) {
                $.ajax({
                    type: 'POST',
                    url: rootPath + '/Admin/Paper/DelReadAuth',
                    data: { FPaperId: FPaperId, FSourceNo: FSourceNo, FPronoun: FPronoun, FProp: FProp },
                    success: function (result) {
                        if (result == "ok") {
                            alert("删除成功!");
                            window.location.reload();
                        } else {
                            alert("删除失败");
                        }
                    }
                });
            }
         }


         //增加人员
         function addEmp() {
             var obj = new Object();
             obj.Value = $("#hidEmpNo").val();
             var returnValue = window.showModalDialog(rootPath + "/Admin/Dialog/EmpChooseTree", obj, "dialogWidth=300px;dialogHeight=500px");
             if (typeof (returnValue) != "undefined") {
                 var hdEmpList = JSON.parse(returnValue);
                 var strNames = "";
                 //var strNos = "";
                 var clientMemo = ASPxClientMemo.Cast("FPronoun");
                 for (var i = 0; i < hdEmpList.length; i++) {
                     strNames += hdEmpList[i]["Text"] + ",";
                     //strNos += hdEmpList[i]["Value"] + ",";
                 }
                 clientMemo.SetValue(strNames);
                 $("#hidEmpNo").val(returnValue);
             }
         }



         function joinIP_ValueChanged() {
             var clientchkUserObj = ASPxClientCheckBox.Cast("joinISIP");
             var clienttxtUserObj = ASPxClientButtonEdit.Cast("txtjoinISIP");
             if (clientchkUserObj.GetChecked()) {
                 clienttxtUserObj.SetEnabled(true);
             }
             else {
                 clienttxtUserObj.SetEnabled(false);
                 clienttxtUserObj.SetValue("");
                 $("#hdvotegroupIPs").val("");
             }
         }


         function conIP_ValueChanged() {
             var clientchkUserObj = ASPxClientCheckBox.Cast("conISIP");
             var clienttxtUserObj = ASPxClientButtonEdit.Cast("txtconISIP");
             if (clientchkUserObj.GetChecked()) {
                 clienttxtUserObj.SetEnabled(true);
             }
             else {
                 clienttxtUserObj.SetEnabled(false);
                 clienttxtUserObj.SetValue("");
                 $("#hdlookgroupIPs").val("");
             }
         }


         function choosejoinIP() {
             var obj = new Object();
             obj.Value = $("#hdvotegroupIPs").val();
             var rs = window.showModalDialog(rootPath + "/Admin/Paper/ChooseJoinIP?paperID=" + $("#hidPaperID").val(), obj, "dialogWidth:700px;dialogHeight:255px");
             if (typeof (rs) != "undefined") {                
                 var clienttext = ASPxClientButtonEdit.Cast("txtjoinISIP");
                 var array = rs.split('|');
                 var strGroupIPNames = "";
                 var strGroupIDs = "";
                 for (var i = 0; i < array.length; i++) {
                     if (i % 2 == 0) {
                         if (i + 1 == array.length) {
                             strGroupIPNames += array[i];
                         } else {
                             strGroupIPNames += array[i] + ",";
                         }
                     } else {
                         strGroupIDs += array[i] + ",";
                         
                      }
                 }
             clienttext.SetValue(strGroupIPNames);
             $("#hdjoinID").val(strGroupIDs);
             //$("#hdvotegroupIPs").val(strGroupIPNames);                                     
              }
         }

         function chooseconIP() {
             var obj = new Object();
             obj.Value = $("#hdlookgroupIPs").val();
             var rs = window.showModalDialog(rootPath + "/Admin/Paper/ChooseJoinIP?paperID=" + $("#hidPaperID").val(), obj, "dialogWidth:700px;dialogHeight:255px");
             if (typeof (rs) != "undefined") {
                 var clienttext = ASPxClientButtonEdit.Cast("txtconISIP");
                 var array = rs.split('|');
                 var strGroupIPNames = "";
                 var strGroupIDs = "";
                 for (var i = 0; i < array.length; i++) {
                     if (i % 2 == 0) {
                         if (i + 1 == array.length) {
                             strGroupIPNames += array[i];
                         } else {
                             strGroupIPNames += array[i] + ",";
                         }
                     } else {
                         strGroupIDs += array[i] + ",";

                     }
                 }
                 clienttext.SetValue(strGroupIPNames);
                 $("#hdconID").val(strGroupIDs)
                 //$("#hdlookgroupIPs").val(strGroupIPNames);
             }
         }

         function pcancel() {
             IPMode.Hide();

         }

    </script>


</head>
<body>
   @using (Html.BeginForm("Save", "Paper", FormMethod.Post, new { id = "form1" }))
   {
         <div class="div">
        <table width="99%" align="center">            
            <tr>
                <td width="15%" align="right" class="tdClass">问卷类别:</td>
                <td align="left" colspan="3" class="tdClass">                 
                    @Html.DevExpress().ComboBox(settings =>
               {
                   settings.Name = "FPaperClsNo";
                   settings.Properties.DropDownStyle = DropDownStyle.DropDownList;
                   settings.Enabled = true;
                   settings.Properties.TextField = "FPaperClsName";
                   settings.Properties.ValueField = "FPaperClsNo";
               }).BindList(ViewData["clsNoList"]).Bind(Model.FPaperClsName).GetHtml()
               </td>               
            </tr>
            <tr>
                <td width="15%" align="right" class="tdClass">问卷标题:</td>
                <td align="left" colspan="3" class="tdClass">
                     @Html.DevExpress().TextBox(settings =>
                {
                    settings.Name = "FTitle";
                    settings.Width = System.Web.UI.WebControls.Unit.Percentage(96);
                    settings.Text = Model.FTitle;
                    settings.Properties.ValidationSettings.EnableCustomValidation = true;
                }).GetHtml()
               @Html.Hidden("hidTitle", Model.FTitle)      
                </td>               
            </tr>
            <tr>
                <td width="15%" align="right" class="tdClass">问卷内容简述:</td>
                <td align="left" colspan="3" class="tdClass">
                    @Html.DevExpress().Memo(settings =>
               {
                   settings.Name = "FContent";
                   settings.Width = System.Web.UI.WebControls.Unit.Percentage(96);
                   settings.Text = Model.FContent;
                   settings.Properties.ValidationSettings.EnableCustomValidation = true;
                   settings.Properties.Rows = 3;
               }).GetHtml()
                </td>               
            </tr>
            <tr>
                <td width="15%" align="right" class="tdClass">问卷记名:</td>
                <td width="35%" align="left" class="tdClass">
                    @Html.DevExpress().CheckBox(
                        settings =>
                        {
                            settings.Name = "FIsRecordName";
                            settings.Checked = true;
                            //settings.Text = Model.FIsRecordName;
                            settings.ControlStyle.CssClass = "button";
                            if (Model.FIsRecordName == "N")
                            {
                                settings.Checked = false;
                            }
                            else
                            {
                                settings.Checked = Model.FIsRecordName == "Y" ? true : false;
                            }
                            
                        }
                    ).GetHtml()
                    @Html.Hidden(Model.FIsRecordName, ViewData["isRecordName"])
                </td>
                <td width="15%" align="right" class="tdClass">问卷调查结果公开:</td>
                <td width="35%" align="left"  class="tdClass">
                     @Html.DevExpress().CheckBox(
                        settings =>
                        {
                            settings.Name = "FResultIsOpen";
                            settings.Checked = true;
                            //settings.Text = Model.FResultIsOpen;
                            settings.ControlStyle.CssClass = "button";
                            if (Model.FResultIsOpen == "N")
                            {
                                settings.Checked = false;
                            }
                            else
                            {
                                settings.Checked = Model.FResultIsOpen == "Y" ? true : false;
                            }
                            settings.Properties.ClientSideEvents.CheckedChanged = "function (s, e){openclick(s, e)}";
                        }
                    ).GetHtml()
                    @Html.Hidden("hidresultIsOpen", ViewData["resultIsOpen"])
                </td>
            </tr>
            <tr>
                <td width="15%" align="right" class="tdClass">问卷开始日期:</td>
                <td width="35%" align="left" class="tdClass">
                     @Html.DevExpress().DateEdit(settings =>
                {
                    settings.Name = "FBeginDate";
                    settings.Properties.NullText = "";
                    settings.Properties.DisplayFormatString = "yyyy-MM-dd";
                    settings.Properties.EditFormatString = "yyyy-MM-dd";
                    settings.Date = Model.FBeginDate;

                }).GetHtml()
                </td>
                <td width="15%" align="right" class="tdClass">问卷结束日期:</td>
                <td width="35%" align="left" class="tdClass">
                     @Html.DevExpress().DateEdit(settings =>
                {
                    settings.Name = "FEndDate";
                    settings.Properties.NullText = "";
                    settings.Properties.DisplayFormatString = "yyyy-MM-dd";
                    settings.Properties.EditFormatString = "yyyy-MM-dd";
                    settings.Date = Model.FEndDate;

                }).GetHtml()
                </td>
            </tr>
            <tr>
                <td width="15%" align="right" class="tdClass">问卷类型:</td>
                <td align="left" colspan="3" class="tdClass">
                      @Html.DevExpress().ComboBox(settings =>
                 {
                     settings.Name = "FPaperType";
                     settings.Properties.DropDownStyle = DropDownStyle.DropDownList;
                     settings.Enabled = true;
                 }).BindList(new List<SelectListItem> 
                        { 
                            new SelectListItem { Text = "调查", Value = "D" },
                            new SelectListItem { Text = "试卷", Value = "T" }
                        }).Bind(Model.FPaperType).GetHtml()
                 
                </td>               
            </tr> 
              
        </table>
        </div>
       
        <table width="99%" align="center">           
            <tr>
               <td style="width: 15%" class="tdClass">
            @Html.DevExpress().CheckBox(
                    settings =>
                    {
                        settings.Name = "joinISIP";
                        settings.Text = "控制问卷参与IP:";
                        settings.Checked = Model.FIsVoteIPControl == "Y" ? true : false;
                        settings.Properties.ClientSideEvents.Init = "function(s,e){joinIP_ValueChanged()}";
                        settings.Properties.ClientSideEvents.ValueChanged = "function(s,e){joinIP_ValueChanged()}";  
                    }).GetHtml()
            </td>  
                <td style="width: 85%" class="tdClass">
                    @Html.DevExpress().ButtonEdit(settings =>
                    {
                        settings.Name = "txtjoinISIP";
                        settings.ReadOnly = true;
                        settings.Width = System.Web.UI.WebControls.Unit.Percentage(96);
                        settings.Height = System.Web.UI.WebControls.Unit.Percentage(100);
                        settings.Properties.Buttons.Add("选择");
                        settings.Properties.ClientSideEvents.ButtonClick = "function(s,e){choosejoinIP()}";
                    }).GetHtml()
                </td>
             </tr>
             <tr>
                <td style="width: 15%" class="tdClass">
             
                 @Html.DevExpress().CheckBox(
                    settings =>
                    {
                        settings.Name = "conISIP";
                        settings.Text = "控制问卷查看IP:";
                        settings.Checked = Model.FIsLookIPControl == "Y" ? true : false;
                        settings.Properties.ClientSideEvents.Init = "function(s,e){conIP_ValueChanged()}";
                        settings.Properties.ClientSideEvents.ValueChanged = "function(s,e){conIP_ValueChanged()}";         
                    }).GetHtml()
                    
                </td>        
                <td style="width: 85%" class="tdClass">
                @Html.DevExpress().ButtonEdit(settings =>
                {
                    settings.Name = "txtconISIP";
                    settings.ReadOnly = true;
                    settings.Width = System.Web.UI.WebControls.Unit.Percentage(96);
                    settings.Height = System.Web.UI.WebControls.Unit.Percentage(100);
                    settings.Properties.Buttons.Add("选择");
                    settings.Properties.ClientSideEvents.ButtonClick = "function(s,e){chooseconIP()}";
                }).GetHtml()
                </td>
             </tr>  
        </table>
       
       
      <div class="div" id="readAuthDiv" style="display:none">
      <fieldset style="width:100%;" align="center">
      <legend>@Html.DevExpress().Label(settings => { settings.Text = "结果查看权限"; }).GetHtml()</legend>
            <table width="99%" align="center" class= "tableForm">            
              <tr>
                <td colspan="3">
                 @Html.DevExpress().CheckBox(
                        settings =>
                        {
                            settings.Text = "全局";
                            settings.Name = "cbFbQJ";
                            if (ViewData["cbFbQJ"] == "N")
                            {
                                settings.Checked = false;
                            }
                            else
                            {
                                settings.Checked = ViewData["cbFbQJ"] == "Y" ? true : false;
                            }
                        }
                    ).GetHtml()
                    
                </td>                
            </tr>
             <tr>
              <td colspan="3"><hr /></td>
            </tr>           
          
            <tr>
                <td colspan="3">
                 @Html.DevExpress().CheckBox(
                        settings =>
                        {
                            settings.Text = "指定部门";
                            settings.Name = "cbFbZdbm";
                            if (ViewData["cbFbZdbm"] == "N")
                            {
                                settings.Checked = false;
                            }
                            else
                            {
                                settings.Checked = ViewData["cbFbZdbm"] == "Y" ? true : false;
                            }                           
                        }
                    ).GetHtml()
                    
                </td>                
            </tr>  
            <tr>
            <td colspan="3" class="td_fieldset" style="padding-top:5px">
                <table width="95%" id="tableBM" align="center" class= "tableForm">                                 
                    <tr>
                        <th width="10%" class="td_text" style =" text-align:center">@Html.DevExpress().Label(settings => { settings.Text = "操作"; }).GetHtml()</th>
                        <th width="50%" class="td_text" style =" text-align:center">@Html.DevExpress().Label(settings => { settings.Text = "部门"; }).GetHtml()</th>
                        <th width="40%" class="td_text" style =" text-align:center">@Html.DevExpress().Label(settings => { settings.Text = "级别"; }).GetHtml()</th>                     
                    </tr>
                       
                   
                </table>
                <div style="text-align:center"><input type="button"  class="btn" value="增加部门" onclick="addRowBm();" /></div>
                                      
                </td>                
            </tr> 
            <tr>
              <td colspan="3"><hr /></td>
            </tr>
            <tr>
                <td class="td_fieldset" colspan="3" style="padding-top:5px">
                    
                <table width="100%" id="table1" align="center">
                       <tr>
                        <td width="10%">
                         @Html.DevExpress().CheckBox(
                        settings =>
                        {
                            settings.Text = "指定人";
                            settings.Name = "cbFbZdr";
                            if (ViewData["cbFbZdr"] == "N")
                            {
                                settings.Checked = false;
                            }
                            else
                            {
                                settings.Checked = ViewData["cbFbZdr"] == "Y" ? true : false;
                            }                            
                        }
                        ).GetHtml()
                        
                        </td>
                        <td width="80%" height="45">
                         @Html.DevExpress().Memo(settings =>
                            {
                                settings.Name = "FPronoun";
                                settings.Width = System.Web.UI.WebControls.Unit.Percentage(96);
                                settings.ReadOnly = true;
                                settings.Properties.ValidationSettings.EnableCustomValidation = true;
                                settings.Properties.Rows = 3;
                            }).GetHtml()</td>
                           <td width="80%">
                           <input type="button" id="FbXzRy" value="选择" class="btn" onclick="addEmp();"/>                    
                         </td>
                       </tr>
                   </table>
                </td>                       
            </tr> 
        </table>
      </fieldset>
      </div>

      <div>
        <table width="100%" class="tableForm">
            <tr>
            <td width="40%">&nbsp;</td>
                <td align="center">
                 @Html.DevExpress().Button(settings =>
            {
                settings.Name = "btnOK";
                settings.Text = "确定";
                settings.ControlStyle.CssClass = "button";
                settings.Images.Image.Url = Url.Content("~/Content/ControlImages/ok.png");
                settings.ClientSideEvents.Click = "function(){ok()}";
            }).GetHtml()

                @Html.DevExpress().Button(settings =>
           {
               settings.Name = "btnCancel";
               settings.Text = "取消";
               settings.ControlStyle.CssClass = "button";
               settings.Images.Image.Url = Url.Content("~/Content/ControlImages/no.png");
               settings.CausesValidation = false;
               settings.ClientSideEvents.Click = "cancel";
           }).GetHtml()

                </td>
            </tr>
        </table>
      </div>         

        @Html.Hidden("hdjoinID", ViewData["joinGroupID"])
        @Html.Hidden("hdconID", ViewData["conGroupID"])

        @Html.Hidden("hdvotegroupIPs", ViewData["votegroupIPs"])
        @Html.Hidden("hdlookgroupIPs", ViewData["lookgroupIPs"])      
       
       @Html.Hidden("hdFEmpName", ViewData["FEmpName"])
       @Html.Hidden("hdProp", ViewData["Prop"])
       
       @Html.Hidden("hidPaperID", ViewData["hidPaperID"]);
                                               
        @Html.Hidden("hidEmpNo", ViewData["hidEmpNo"]);                                                  
       @Html.Hidden("hdMethod", ViewData["hdMethod"]);
        @Html.Hidden("hdjsAlert", (ViewData["jsAlert"]));
        @Html.Hidden("hdHRWorkGrpDutyList", (ViewData["HRWorkGrpDutyList"]));
        @Html.Hidden("hdHRWorkGrpDutyNewList", (ViewData["HRWorkGrpDutyNewList"]));

   }  

</body>
</html>
